import request from ".";
interface loginData{

  "username": string,
  "password": string,
  "captcha_id": string,
  "captcha_code": string

}
export const LoginApi=(data:loginData)=>{
    return request.post('/auth/login',data)
}


export const getCaptchaApi=()=>{
    return request.get('/auth/captcha')
}
